<?php

class Log{

    private $mId;
    private $mRecordId;
    private $mModuleId;
    private $mStatusId;
    private $mNote;
    private $mCreatedBy;
    private $mCreatedDate;
    private $mIsLoaded;
    
    public function getId() {
        return $this->mId;
    }

    public function setId($value) {
        $this->mId = $value;
    }

    public function getRecordId() {
        return $this->mRecordId;
    }

    public function setRecordId($value) {
        $this->mRecordId = $value;
    }

    public function getModuleId() {
        return $this->mModuleId;
    }

    public function setModuleId($value) {
        $this->mModuleId = $value;
    }

    public function getStatusId() {
        return $this->mStatusId;
    }

    public function setStatusId($value) {
        $this->mStatusId = $value;
    }

    public function getNote() {
        return $this->mNote;
    }

    public function setNote($value) {
        $this->mNote = $value;
    }

    public function setCreatedBy($value) {
        $this->mCreatedBy = $value;
    }

    public function getCreatedBy() {
        return $this->mCreatedBy;
    }

    public function getCreatedDate() {
        return $this->mCreatedDate;
    }

    public function setCreatedDate($value) {
        $this->mCreatedDate = $value;
    }

    public function isLoaded() {
        return $this->isLoaded();
    }

    public function setIsLoaded($value) {
        $this->mIsLoaded = $value;
    }

    public function toArray() {
        $data = array(
            'id' => $this->mId,
            'record_id' => $this->mRecordId,
            'module_id' => $this->mModuleId,
            'status_id' => $this->mStatusId,
            'note' => $this->mNote,
            'created_by' => $this->mCreatedBy,
            'created_date'=> $this->mCreatedDate,
        );
        
        return $data;
    }
}
